package it.univaq.mwt.common.business.impl;

import it.univaq.mwt.business.GroupsService;
import it.univaq.mwt.common.business.GroupsServiceFactory;
import it.univaq.mwt.facade.FacadeGroups;
import it.univaq.mwt.model.bean.GroupsBeanRemote;

public class DBGroupsServiceFactory extends GroupsServiceFactory{

	private GroupsBeanRemote gbr;	
	
	
	public DBGroupsServiceFactory(GroupsBeanRemote gbr) {
		super();
		this.gbr = gbr;
	}

	@Override
	public GroupsService getGroupsService() {

		 return new FacadeGroups(gbr);
	}

	

}
